package cc.cc4414.cloud.demo.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import cc.cc4414.cloud.demo.vo.TestVO;
import cc.cc4414.cloud.result.ResultVO;

/**
 * @author cc 2019年1月30日
 */
@FeignClient("demo")
public interface DemoClient {
	@GetMapping
	public ResultVO<TestVO> test(@RequestParam String req);
}
